/*
 * Created on Aug 15, 2011
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.ross.web.util;

import org.apache.log4j.Logger;
import org.apache.log4j.Priority;


/**
 * @author marabni
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class AppLogger {
	public static void log(Object callerFQCN, Priority level,
            				Object message,	Throwable t) {
		Logger log = Logger.getLogger(callerFQCN.getClass());
		log.log(level,message,t);
	}
	
	public static void log(Object callerFQCN, Priority level,Object message) {
		Logger log = Logger.getLogger(callerFQCN.getClass());
		log.log(level,message);
	}
}
